<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>ccc</title>
</head>
<body>
<script>
    console.log(location.hash);
    let iframe=document.createElement('iframe');
    iframe.src='http://localhost:5000/b.html#345435fdsfds';
    document.body.appendChild(iframe);

</script>
</body>
</html>